package com.sxt.practiceapplication.entity.course;

import org.jetbrains.annotations.NotNull;

public class CourseType {
    private int id;

    private String type;

    public int getId() {
        return id;
    }

    public CourseType(int id, String type) {
        this.id = id;
        this.type = type;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @NotNull
    @Override
    public String toString() {
        return "CourseType{" +
                "id=" + id +
                ", type='" + type + '\'' +
                '}';
    }
}
